import mockData from './mock_data.js'

mockData.add('/api/public/v1/users/wxlogin', {
	"message": {
		"user_id": 23,
		"user_email_code": null,
		"is_active": null,
		"user_sex": "男",
		"user_qq": "",
		"user_tel": "",
		"user_xueli": "本科",
		"user_hobby": "",
		"user_introduce": null,
		"create_time": 1562221487,
		"update_time": 1562221487,
		"token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjIzLCJpYXQiOjE1NjQ3MzAwNzksImV4cCI6MTAwMTU2NDczMDA3OH0.YPt-XeLnjV-_1ITaXGY2FhxmCe4NvXuRnRB8OMCfnPo"
	},
	"meta": {
		"msg": "登录成功",
		"status": 200
	}
})

mockData.add('/api/public/v1/my/orders/create', {
	message: {
		order_number: 't349fhg149ug041g7r190f'
	},
	"meta": {
		"msg": "登录成功",
		"status": 200
	}
})

mockData.add('/api/public/v1/my/orders/req_unifiedorder', {
	"message": {
		"pay": {
			"timeStamp": "1564730510",
			"nonceStr": "SReWbt3nEmpJo3tr",
			"package": "prepay_id=wx02152148991420a3b39a90811023326800",
			"signType": "MD5",
			"paySign": "3A6943C3B865FA2B2C825CDCB33C5304"
		},
		"order_number": "HMDD20190802000000000422"
	},
	"meta": {
		"msg": "预付订单生成成功",
		"status": 200
	}
})

mockData.add('/api/public/v1/my/orders/chkOrder', {
	"message": "支付成功",
	"meta": {
		"msg": "验证成功",
		"status": 200
	}
})

export default mockData
